package com.woniu.springbootrbac.service;

import com.woniu.springbootrbac.dto.DeptDto;
import com.woniu.springbootrbac.entity.SysDept;

import java.util.List;

public interface DeptService {

    int deleteByPrimaryKey(Long id);

    int insert(SysDept record);

    int insertSelective(SysDept record);

    SysDept selectByPrimaryKey(Long id);

    List<SysDept> selAll(DeptDto dept);

    int updateByPrimaryKeySelective(SysDept record);

    int updateByPrimaryKey(SysDept record);

}
